package com.hoshiibuy.sku.service;

import com.hoshiibuy.sku.entity.BaseSku;
import com.baomidou.mybatisplus.extension.service.IService;
import com.baomidou.mybatisplus.core.conditions.Wrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import com.hoshiibuy.sku.entity.BaseSku;

/**
 * <p>
 * 基础商品表SKU 服务类
 * </p>
 *
 * @author zhangshuhu
 * @since 2019-05-05
 */
public interface BaseSkuService extends IService<BaseSku> {

    BaseSku getById(Long id);

    boolean save(BaseSku entity);

    boolean updateById(BaseSku entity);

    IPage<BaseSku> page(IPage<BaseSku> page, Wrapper<BaseSku> queryWrapper);
}
